page {
    padding-bottom: 90rpx; // 跟btm_tool的高保持一致
}
.detail_swiper {
    swiper {
        height: 70vw;
        text-align: center;
        // background-color: red;
        image {
            width: 65%;
        }
    }
}

.goods_price {
    padding: 15rpx;
    font-size: 32rpx;
    font-weight: 600;
    color: var(--themeColor);
}
.goods_name_row {
    display: flex;
    border-top: 5rpx solid #dedede;
    border-bottom: 5rpx solid #dedede;
    padding: 10rpx 0;
    .goods_name {
        flex: 5;
        color: #000;
        font-size: 30rpx;
        padding: 0 10rpx;
        display: -webkit-box; // 超出2行省略号
        overflow: hidden; // 超出2行省略号
        -webkit-box-orient: vertical; // 超出2行省略号
        -webkit-line-clamp: 2; // 超出2行省略号
    }
    .goods_collect {
        flex: 1;
        display: flex; // 把父容器变成伸缩盒子
        flex-direction: column; // 主轴方向变为上下方向
        justify-content: center; // 垂直居中
        align-items: center; // 水平居中
        border-left: 1rpx solid #000;
        .iconfont {
            color: orange;
        }
        .collect_text {

        }
    }
}

.goods_info {
    .goods_info_title {
        font-size: 32rpx;
        color: var(--themeColor);
        font-weight: 600;
        padding: 20rpx;
    }
    .goods_info_content {
        padding-top: 10px;
        border-top: 5rpx solid #dedede;
    }
}

.btm_tool {
    border-top: 1px solid #ccc;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 90rpx;
    background-color: #fff;
    display: flex;
    .tool_item {
        flex:1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 24rpx;
        position: relative;  // 障眼法写超链接
        button { // 障眼法写超链接
            position: absolute; // 障眼法写超链接
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0; // 透明度为0
        }
    }
    .btn_cart {
        flex:2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #ffa500;
        color: #fff;
        font-size: 30rpx;
        font-weight: 600;
    }
    .btn_buy {
        flex:2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #eb4450;
        color: #fff;
        font-size: 30rpx;
        font-weight: 600;
    }
}